package com.itHsuSE.demo7;

/**
 * @author Hsu琛君珩
 * @version 1.0
 */
public class Test {
    public static void main(String[] args) {
        // 创建学生对象
        Student student1 = new Student("12345678X", "S1001", "Computer Science", "Alice", "Female", 20, 85.5, 92.0, 88.0);
        Student student2 = new Student("87654321Y", "S1002", "Mathematics", "Bob", "Male", 22, 78.0, 81.5, 90.0);

        // 打印学生信息
        System.out.println("Student 1:");
        System.out.println(student1);
        System.out.println();

        System.out.println("Student 2:");
        System.out.println(student2);
        System.out.println();
    }
}
